<?php
class UserTableSeeder extends Seeder{
    public function run(){
        User::create([
            'username'=>'test',
            'nickname'=>'test',
            'email'=>'test@admin.com',
            'password'=>Hash::make('123456'),
            'is_admin'=>0,
        ]);
        User::create([
            'username'=>'admin',
            'nickname'=>'admin',
            'email'=>'admin@admin.com',
            'password'=>Hash::make('123456'),
            'is_admin'=>1,
        ]);
        User::create([
            'username'=>'renphp',
            'nickname'=>'renphp',
            'email'=>'renphp@admin.com',
            'password'=>Hash::make('123456'),
            'is_admin'=>0,
        ]);
    }
}